home *** CD-ROM | disk | FTP | other *** search
/ Download Now 8 / Download Now V8.iso / Program / InternetTools / ApacheWebServer1.3.6 / apache_1_3_6_win32.exe / _SETUP.1 / utils.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-07-25  |  558 b   |  23 lines

  1. /* utility definitions */
  2. #ifndef _POSIX2_RE_DUP_MAX
  3. #define _POSIX2_RE_DUP_MAX   255
  4. #endif
  5.  
  6. #define    DUPMAX        _POSIX2_RE_DUP_MAX    /* xxx is this right? */
  7. #define    INFINITY    (DUPMAX + 1)
  8. #define    NC        (CHAR_MAX - CHAR_MIN + 1)
  9. typedef unsigned char uch;
  10.  
  11. /* switch off assertions (if not already off) if no REDEBUG */
  12. #ifndef REDEBUG
  13. #ifndef NDEBUG
  14. #define    NDEBUG    /* no assertions please */
  15. #endif
  16. #endif
  17. #include <assert.h>
  18.  
  19. /* for old systems with bcopy() but no memmove() */
  20. #ifdef USEBCOPY
  21. #define    memmove(d, s, c)    bcopy(s, d, c)
  22. #endif
  23.